<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        <!--必须同时设置html和body的高度都是100\%否则单独设置body的高度为0-->
        html,body{
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background-color: orange;
        }

        img{
            position: absolute;
            left: 0px;
            bottom: 0px;
            transform:rotate(45deg);
            transition:all 1s ease-in;
        }

        body:hover img{
            transform:translate(200px,-350px)rotate(0deg);
        }
    </style>
</head>
<body>
    <img src="img/share7.png" alt="">
</body>
</html>